<a class="btn btn-primary" href="<?php echo base_url(); ?>reservation/addServ/<?php echo $resv_id; ?>">Add Service</a>
<table class="table">
    <thead>
        <tr>
            <td>Nama Service</td><td>Jumlah Unit</td><td>Total</td><td>Deskripsi</td><td></td>
        </tr>
    </thead>
    <?php
    foreach ($data as $row){
        echo '<tr>';
        echo '<td>'.$row['service_name'].'</td>'.'<td>'.$row['resv_serv_unit'].'</td>'.
                '<td>'.$row['resv_serv_total'].'</td>'.'<td>'.$row['resv_serv_desc'].'</td>';
        echo '<td><a class="btn btn-warning" href="' . base_url() . 'reservation/editServ/' . $row['resv_serv_id']. '">Edit</a>
                <a class="btn btn-success" href="' . base_url() . 'reservation/delServ/' . $row['resv_serv_id'] . '">Delete</a></td>';
        echo '</tr>';
    }
    ?>
    
</table>